<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/10/13
 * Time: 20:05
 */
namespace app\bms\controller;
use app\msc\base\MscBaseController;

class ArticleCategory extends MscBaseController
{
    //连贯操作类实例
    protected static $flow;
    //初始化当前类
    protected function initialize(){
        self::$flow=make("bms/ArticleCategory","service");
    }
    public function index(){
        $a=[
            'ty'=>function($v){
                return $v*9;
            }
        ];
        echo $a['ty'](8);exit;

        $result=self::$flow->getList($this->request->param());
        var_dump($result);exit;
        return $this->fetch();
    }
}